<?php

namespace app\index\model;
use think\Model;

class System extends Model
{
    public static function getValue($data)
    {
        $m = new static();
        $res = $m->where(['name'=>$data])->value('value');
        return unserialize($res);
    }
}